﻿using ePipe;
using System.Runtime.CompilerServices;

namespace Letter.Net.Sockets;

sealed class UdpSnderPool : ASocketSnderPool<UdpSnder>
{
    public UdpSnderPool(PipeScheduler scheduler) : base(scheduler)
    {
    }

    [MethodImpl(MethodImplOptions.AggressiveInlining)]
    protected override UdpSnder Create(PipeScheduler scheduler)
    {
        return new UdpSnder(scheduler);
    }
}